package com.le.tester.javaThink.fifth.chapter14_StreamingProgramming;

/**
 * 描述：将数组转换成流
 */
public class Machine2 {
    public static void main(String[] args) {
//        Arrays.stream(new Operations[]{
//                () -> Operations.show("Bing"),
//                () -> Operations.show("Crack"),
//                () -> Operations.show("Twist"),
//                () -> Operations.show("Pop")
//
//        }).forEach(Operations::execute);
    }
}
